package com.yongan.sales.entity;

import java.util.Date;
import java.util.List;

/**
 * @author Sunqing
 * 销售订货单
 *
 */
public class SalesOrder {
	private String  salesOrderId;//ID
	private String  salesOrderXsdh;//销售单号
	private Date  salesOrderDdrq;//订单日期
	private Date  salesOrderShrq;//送货日期
	private String  salesOrderGmkh;//购买客户
	private String  salesOrderGmkhId;//购买客户
	private String  salesOrderDhr;//订货人
	private String  salesOrderLxdh;//联系电话
	private String  salesOrderXsck;//销售仓库
	private String  salesOrderXsckId;//销售仓库
	private String  salesOrderXsje;//销售金额
	private String  salesOrderXsy;//销售员
	private String  salesOrderXsyId;//销售员
	private String  salesOrderShdz;//送货地址
	private Date createTime;//创建时间	
	private Date updateTime;//更新时间
	private String salesOrderHjsl;//合计数量
	//private String  salesOrderHjzje;//合计总金额
	private Boolean isChecked;
    private List<SalesOrderDetails> details;//销售商品明细对象
	public String getSalesOrderId() {
		return salesOrderId;
	}
	public void setSalesOrderId(String salesOrderId) {
		this.salesOrderId = salesOrderId;
	}
	public String getSalesOrderXsdh() {
		return salesOrderXsdh;
	}
	public void setSalesOrderXsdh(String salesOrderXsdh) {
		this.salesOrderXsdh = salesOrderXsdh;
	}
	public Date getSalesOrderDdrq() {
		return salesOrderDdrq;
	}
	public void setSalesOrderDdrq(Date salesOrderDdrq) {
		this.salesOrderDdrq = salesOrderDdrq;
	}
	public Date getSalesOrderShrq() {
		return salesOrderShrq;
	}
	public void setSalesOrderShrq(Date salesOrderShrq) {
		this.salesOrderShrq = salesOrderShrq;
	}
	public String getSalesOrderGmkh() {
		return salesOrderGmkh;
	}
	public void setSalesOrderGmkh(String salesOrderGmkh) {
		this.salesOrderGmkh = salesOrderGmkh;
	}
	public String getSalesOrderGmkhId() {
		return salesOrderGmkhId;
	}
	public void setSalesOrderGmkhId(String salesOrderGmkhId) {
		this.salesOrderGmkhId = salesOrderGmkhId;
	}
	public String getSalesOrderDhr() {
		return salesOrderDhr;
	}
	public void setSalesOrderDhr(String salesOrderDhr) {
		this.salesOrderDhr = salesOrderDhr;
	}
	public String getSalesOrderLxdh() {
		return salesOrderLxdh;
	}
	public void setSalesOrderLxdh(String salesOrderLxdh) {
		this.salesOrderLxdh = salesOrderLxdh;
	}
	public String getSalesOrderXsck() {
		return salesOrderXsck;
	}
	public void setSalesOrderXsck(String salesOrderXsck) {
		this.salesOrderXsck = salesOrderXsck;
	}
	public String getSalesOrderXsckId() {
		return salesOrderXsckId;
	}
	public void setSalesOrderXsckId(String salesOrderXsckId) {
		this.salesOrderXsckId = salesOrderXsckId;
	}
	public String getSalesOrderXsje() {
		return salesOrderXsje;
	}
	public void setSalesOrderXsje(String salesOrderXsje) {
		this.salesOrderXsje = salesOrderXsje;
	}
	public String getSalesOrderXsy() {
		return salesOrderXsy;
	}
	public void setSalesOrderXsy(String salesOrderXsy) {
		this.salesOrderXsy = salesOrderXsy;
	}
	public String getSalesOrderXsyId() {
		return salesOrderXsyId;
	}
	public void setSalesOrderXsyId(String salesOrderXsyId) {
		this.salesOrderXsyId = salesOrderXsyId;
	}
	public String getSalesOrderShdz() {
		return salesOrderShdz;
	}
	public void setSalesOrderShdz(String salesOrderShdz) {
		this.salesOrderShdz = salesOrderShdz;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getSalesOrderHjsl() {
		return salesOrderHjsl;
	}
	public void setSalesOrderHjsl(String salesOrderHjsl) {
		this.salesOrderHjsl = salesOrderHjsl;
	}
	public Boolean getIsChecked() {
		return isChecked;
	}
	public void setIsChecked(Boolean isChecked) {
		this.isChecked = isChecked;
	}
	
	@Override
	public String toString() {
		return "SalesOrder [salesOrderId=" + salesOrderId + ", salesOrderXsdh="
				+ salesOrderXsdh + ", salesOrderDdrq=" + salesOrderDdrq
				+ ", salesOrderShrq=" + salesOrderShrq + ", salesOrderGmkh="
				+ salesOrderGmkh + ", salesOrderGmkhId=" + salesOrderGmkhId
				+ ", salesOrderDhr=" + salesOrderDhr + ", salesOrderLxdh="
				+ salesOrderLxdh + ", salesOrderXsck=" + salesOrderXsck
				+ ", salesOrderXsckId=" + salesOrderXsckId
				+ ", salesOrderXsje=" + salesOrderXsje + ", salesOrderXsy="
				+ salesOrderXsy + ", salesOrderXsyId=" + salesOrderXsyId
				+ ", salesOrderShdz=" + salesOrderShdz + ", createTime="
				+ createTime + ", updateTime=" + updateTime
				+ ", salesOrderHjsl=" + salesOrderHjsl + ", isChecked="
				+ isChecked + ", salesOrderDetails=" + details + "]";
	}
	public List<SalesOrderDetails> getDetails() {
		return details;
	}
	public void setDetails(List<SalesOrderDetails> details) {
		this.details = details;
	}

}
